(function(obj) {
	if(obj === undefined) {
	window.testObj = obj = {};
	}
	
	obj.test = function () {
		return "test string";
	};
	
	obj.lol = function () {
		return "this means lol";
	};

})(window.testObj);